package mdt.figure;

import mdt.model.MDTMessage;
import org.tigris.gef.base.Layer;
import org.tigris.gef.presentation.Fig;

/**
 * Created by xiaobyu on 6/17/2016.
 */
public class FigDualWayMessage extends FigMessage{
    private static final long serialVersionUID = 1L;
    public FigDualWayMessage(MDTMessage edge, Layer lay) {
        super(edge, lay);
        setSourceArrowHead(createArrowHead(ARROW_TYPE.TRIANGLE));
    }

    public void setFig(Fig f) {
        f.setDashed(false);
        super.setFig(f);
    }
}